const Router = require('koa-router')
const app = new Router({ prefix: "/shopper/req" })
const { add, getshopper, getuser, deletes, freeze, unfreeze } = require('../../controller/shopper/req')
app.post('/add', add)
app.get('/getuser', getuser)
app.get('/:id', getshopper)
app.post('/delete', deletes)
app.post('/freeze', freeze)
app.post('/unfreeze', unfreeze)

module.exports = app